package com.example.imitation_webchat_demo.fragment;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.imitation_webchat_demo.R;
import com.example.imitation_webchat_demo.util.AppUtils;

// 最新动态fragment
public class NewlyConditionFragment extends Fragment {
	private String username;

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		return inflater.inflate(R.layout.fragment_newly_condition, container, false);
	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		
		username = AppUtils.getUsernameFromShare(getActivity());
	}
}